<?php use_stylesheets_for_form($form) ?>
<?php use_javascripts_for_form($form) ?>
<!-- NON UTILISE -->
<?php foreach ($form as $widget): ?>
  <?php echo $widget->renderError() ?>
<?php endforeach ?>

<form action="<?php echo url_for('maincourante/'.($form->getObject()->isNew() ? 'create' : 'update').(!$form->getObject()->isNew() ? '?idmaincour='.$form->getObject()->getIdmaincour() : '')) ?>" method="post" <?php $form->isMultipart() and print 'enctype="multipart/form-data" ' ?>>
  <div><?php
    // Affichage des erreurs
    if($form->hasErrors()){
      foreach($form->getGlobalErrors() as $error){
        echo $error;
      }
    }
    ?></div>

  <td class="mc_description"><?php echo $form['description'] // affiche le <textarea> ?></td>
  <td class="mc_suite"><?php echo $form['suite'] // affiche le <textarea> ?></td>
  <br />
  <input type="submit" value="Enregistrer" />
</form>